//
//  jxsDateShortcutCalculationFactory.m
//  ToDoList
//
// This code file is apart of project "iPhone-ToDo-List" 
// (http://code.google.com/p/iphone-todo-list/)
//
// Copyright (c) 2009 Frank Villasenor
//
// Distributed under the terms of the Lesser GNU General Public License.
// A copy of the license should be with these files. If not, you 
// can retrieve a copy from http://www.gnu.org/licenses/lgpl-3.0.txt
// 

#import "jxsDateShortcutCalculationFactory.h"

#import "jxsDateShortcutCalculationToday.h"
#import "jxsDateShortcutCalculationTomorrow.h"
#import "jxsDateShortcutCalculationOneWeek.h"
#import "jxsDateShortcutCalculationTwoWeeks.h"
#import "jxsDateShortcutCalculationOneMonth.h"
#import "jxsDateShortcutCalculationSixMonths.h"
#import "jxsDateShortcutCalculationOneYear.h"

@implementation jxsDateShortcutCalculationFactory

+ (NSObject <jxsDateShortcutCalculationBase> *)today
{
	return [[jxsDateShortcutCalculationToday alloc] init];
}

+ (NSObject <jxsDateShortcutCalculationBase> *)tomorrow
{
	return [[jxsDateShortcutCalculationTomorrow alloc] init];
}

+ (NSObject <jxsDateShortcutCalculationBase> *)oneWeek
{
	return [[jxsDateShortcutCalculationOneWeek alloc] init];
}

+ (NSObject <jxsDateShortcutCalculationBase> *)twoWeeks
{
	return [[jxsDateShortcutCalculationTwoWeeks alloc] init];
}

+ (NSObject <jxsDateShortcutCalculationBase> *)oneMonth
{
	return [[jxsDateShortcutCalculationOneMonth alloc] init];
}

+ (NSObject <jxsDateShortcutCalculationBase> *)sixMonths
{
	return [[jxsDateShortcutCalculationSixMonths alloc] init];
}

+ (NSObject <jxsDateShortcutCalculationBase> *)oneYear
{
	return [[jxsDateShortcutCalculationOneYear alloc] init];
}

@end
